Optimal. Leaf size=429 \[ \frac{4 b c d \sqrt{c^2 x^2+1} \sqrt{\frac{d+e x}{\frac{e}{\sqrt{-c^2}}+d}} \text{EllipticF}\left (\sin ^{-1}\left (\frac{\sqrt{1-\sqrt{-c^2} x}}{\sqrt{2}}\right ),-\frac{2 \sqrt{-c^2} e}{c^2 d-\sqrt{-c^2} e}\right )}{3 \left (-c^2\right )^{3/2} x \sqrt{\frac{1}{c^2 x^2}+1} \sqrt{d+e x}}+\frac{2 (d+e x)^{3/2} \left (a+b \text{csch}^{-1}(c x)\right )}{3 e}-\frac{4 b d^2 \sqrt{c^2 x^2+1} \sqrt{\frac{\sqrt{-c^2} (d+e x)}{\sqrt{-c^2} d+e}} \Pi \left (2;\sin ^{-1}\left (\frac{\sqrt{1-\sqrt{-c^2} x}}{\sqrt{2}}\right )|\frac{2 e}{\sqrt{-c^2} d+e}\right )}{3 c e x \sqrt{\frac{1}{c^2 x^2}+1} \sqrt{d+e x}}+\frac{4 b c \sqrt{c^2 x^2+1} \sqrt{d+e x} E\left (\sin ^{-1}\left (\frac{\sqrt{1-\sqrt{-c^2} x}}{\sqrt{2}}\right )|-\frac{2 \sqrt{-c^2} e}{c^2 d-\sqrt{-c^2} e}\right )}{3 \left (-c^2\right )^{3/2} x \sqrt{\frac{1}{c^2 x^2}+1} \sqrt{\frac{d+e x}{\frac{e}{\sqrt{-c^2}}+d}}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.708368, antiderivative size = 429, normalized size of antiderivative = 1., number of steps used = 15, number of rules used = 11, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.611, Rules used = {6290, 1574, 958, 719, 419, 933, 168, 538, 537, 844, 424} \[ \frac{2 (d+e x)^{3/2} \left (a+b \text{csch}^{-1}(c x)\right )}{3 e}-\frac{4 b d^2 \sqrt{c^2 x^2+1} \sqrt{\frac{\sqrt{-c^2} (d+e x)}{\sqrt{-c^2} d+e}} \Pi \left (2;\sin ^{-1}\left (\frac{\sqrt{1-\sqrt{-c^2} x}}{\sqrt{2}}\right )|\frac{2 e}{\sqrt{-c^2} d+e}\right )}{3 c e x \sqrt{\frac{1}{c^2 x^2}+1} \sqrt{d+e x}}+\frac{4 b c d \sqrt{c^2 x^2+1} \sqrt{\frac{d+e x}{\frac{e}{\sqrt{-c^2}}+d}} F\left (\sin ^{-1}\left (\frac{\sqrt{1-\sqrt{-c^2} x}}{\sqrt{2}}\right )|-\frac{2 \sqrt{-c^2} e}{c^2 d-\sqrt{-c^2} e}\right )}{3 \left (-c^2\right )^{3/2} x \sqrt{\frac{1}{c^2 x^2}+1} \sqrt{d+e x}}+\frac{4 b c \sqrt{c^2 x^2+1} \sqrt{d+e x} E\left (\sin ^{-1}\left (\frac{\sqrt{1-\sqrt{-c^2} x}}{\sqrt{2}}\right )|-\frac{2 \sqrt{-c^2} e}{c^2 d-\sqrt{-c^2} e}\right )}{3 \left (-c^2\right )^{3/2} x \sqrt{\frac{1}{c^2 x^2}+1} \sqrt{\frac{d+e x}{\frac{e}{\sqrt{-c^2}}+d}}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6290
Rule 1574
Rule 958
Rule 719
Rule 419
Rule 933
Rule 168
Rule 538
Rule 537
Rule 844
Rule 424
Rubi steps
\begin{align*} \int \sqrt{d+e x} \left (a+b \text{csch}^{-1}(c x)\right ) \, dx &=\frac{2 (d+e x)^{3/2} \left (a+b \text{csch}^{-1}(c x)\right )}{3 e}+\frac{(2 b) \int \frac{(d+e x)^{3/2}}{\sqrt{1+\frac{1}{c^2 x^2}} x^2} \, dx}{3 c e}\\ &=\frac{2 (d+e x)^{3/2} \left (a+b \text{csch}^{-1}(c x)\right )}{3 e}+\frac{\left (2 b \sqrt{\frac{1}{c^2}+x^2}\right ) \int \frac{(d+e x)^{3/2}}{x \sqrt{\frac{1}{c^2}+x^2}} \, dx}{3 c e \sqrt{1+\frac{1}{c^2 x^2}} x}\\ &=\frac{2 (d+e x)^{3/2} \left (a+b \text{csch}^{-1}(c x)\right )}{3 e}+\frac{\left (2 b \sqrt{\frac{1}{c^2}+x^2}\right ) \int \left (\frac{2 d e}{\sqrt{d+e x} \sqrt{\frac{1}{c^2}+x^2}}+\frac{d^2}{x \sqrt{d+e x} \sqrt{\frac{1}{c^2}+x^2}}+\frac{e^2 x}{\sqrt{d+e x} \sqrt{\frac{1}{c^2}+x^2}}\right ) \, dx}{3 c e \sqrt{1+\frac{1}{c^2 x^2}} x}\\ &=\frac{2 (d+e x)^{3/2} \left (a+b \text{csch}^{-1}(c x)\right )}{3 e}+\frac{\left (4 b d \sqrt{\frac{1}{c^2}+x^2}\right ) \int \frac{1}{\sqrt{d+e x} \sqrt{\frac{1}{c^2}+x^2}} \, dx}{3 c \sqrt{1+\frac{1}{c^2 x^2}} x}+\frac{\left (2 b d^2 \sqrt{\frac{1}{c^2}+x^2}\right ) \int \frac{1}{x \sqrt{d+e x} \sqrt{\frac{1}{c^2}+x^2}} \, dx}{3 c e \sqrt{1+\frac{1}{c^2 x^2}} x}+\frac{\left (2 b e \sqrt{\frac{1}{c^2}+x^2}\right ) \int \frac{x}{\sqrt{d+e x} \sqrt{\frac{1}{c^2}+x^2}} \, dx}{3 c \sqrt{1+\frac{1}{c^2 x^2}} x}\\ &=\frac{2 (d+e x)^{3/2} \left (a+b \text{csch}^{-1}(c x)\right )}{3 e}+\frac{\left (2 b \sqrt{\frac{1}{c^2}+x^2}\right ) \int \frac{\sqrt{d+e x}}{\sqrt{\frac{1}{c^2}+x^2}} \, dx}{3 c \sqrt{1+\frac{1}{c^2 x^2}} x}-\frac{\left (2 b d \sqrt{\frac{1}{c^2}+x^2}\right ) \int \frac{1}{\sqrt{d+e x} \sqrt{\frac{1}{c^2}+x^2}} \, dx}{3 c \sqrt{1+\frac{1}{c^2 x^2}} x}+\frac{\left (2 b d^2 \sqrt{1+c^2 x^2}\right ) \int \frac{1}{x \sqrt{1-\sqrt{-c^2} x} \sqrt{1+\sqrt{-c^2} x} \sqrt{d+e x}} \, dx}{3 c e \sqrt{1+\frac{1}{c^2 x^2}} x}+\frac{\left (8 b \sqrt{-c^2} d \sqrt{\frac{d+e x}{d-\frac{\sqrt{-c^2} e}{c^2}}} \sqrt{1+c^2 x^2}\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt{1-x^2} \sqrt{1+\frac{2 \sqrt{-c^2} e x^2}{c^2 \left (d-\frac{\sqrt{-c^2} e}{c^2}\right )}}} \, dx,x,\frac{\sqrt{1-\sqrt{-c^2} x}}{\sqrt{2}}\right )}{3 c^3 \sqrt{1+\frac{1}{c^2 x^2}} x \sqrt{d+e x}}\\ &=\frac{2 (d+e x)^{3/2} \left (a+b \text{csch}^{-1}(c x)\right )}{3 e}+\frac{8 b \sqrt{-c^2} d \sqrt{\frac{d+e x}{d+\frac{e}{\sqrt{-c^2}}}} \sqrt{1+c^2 x^2} F\left (\sin ^{-1}\left (\frac{\sqrt{1-\sqrt{-c^2} x}}{\sqrt{2}}\right )|-\frac{2 \sqrt{-c^2} e}{c^2 d-\sqrt{-c^2} e}\right )}{3 c^3 \sqrt{1+\frac{1}{c^2 x^2}} x \sqrt{d+e x}}-\frac{\left (4 b d^2 \sqrt{1+c^2 x^2}\right ) \operatorname{Subst}\left (\int \frac{1}{\left (1-x^2\right ) \sqrt{2-x^2} \sqrt{d+\frac{e}{\sqrt{-c^2}}-\frac{e x^2}{\sqrt{-c^2}}}} \, dx,x,\sqrt{1-\sqrt{-c^2} x}\right )}{3 c e \sqrt{1+\frac{1}{c^2 x^2}} x}+\frac{\left (4 b \sqrt{-c^2} \sqrt{d+e x} \sqrt{1+c^2 x^2}\right ) \operatorname{Subst}\left (\int \frac{\sqrt{1+\frac{2 \sqrt{-c^2} e x^2}{c^2 \left (d-\frac{\sqrt{-c^2} e}{c^2}\right )}}}{\sqrt{1-x^2}} \, dx,x,\frac{\sqrt{1-\sqrt{-c^2} x}}{\sqrt{2}}\right )}{3 c^3 \sqrt{1+\frac{1}{c^2 x^2}} x \sqrt{\frac{d+e x}{d-\frac{\sqrt{-c^2} e}{c^2}}}}-\frac{\left (4 b \sqrt{-c^2} d \sqrt{\frac{d+e x}{d-\frac{\sqrt{-c^2} e}{c^2}}} \sqrt{1+c^2 x^2}\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt{1-x^2} \sqrt{1+\frac{2 \sqrt{-c^2} e x^2}{c^2 \left (d-\frac{\sqrt{-c^2} e}{c^2}\right )}}} \, dx,x,\frac{\sqrt{1-\sqrt{-c^2} x}}{\sqrt{2}}\right )}{3 c^3 \sqrt{1+\frac{1}{c^2 x^2}} x \sqrt{d+e x}}\\ &=\frac{2 (d+e x)^{3/2} \left (a+b \text{csch}^{-1}(c x)\right )}{3 e}+\frac{4 b \sqrt{-c^2} \sqrt{d+e x} \sqrt{1+c^2 x^2} E\left (\sin ^{-1}\left (\frac{\sqrt{1-\sqrt{-c^2} x}}{\sqrt{2}}\right )|-\frac{2 \sqrt{-c^2} e}{c^2 d-\sqrt{-c^2} e}\right )}{3 c^3 \sqrt{1+\frac{1}{c^2 x^2}} x \sqrt{\frac{d+e x}{d+\frac{e}{\sqrt{-c^2}}}}}+\frac{4 b \sqrt{-c^2} d \sqrt{\frac{d+e x}{d+\frac{e}{\sqrt{-c^2}}}} \sqrt{1+c^2 x^2} F\left (\sin ^{-1}\left (\frac{\sqrt{1-\sqrt{-c^2} x}}{\sqrt{2}}\right )|-\frac{2 \sqrt{-c^2} e}{c^2 d-\sqrt{-c^2} e}\right )}{3 c^3 \sqrt{1+\frac{1}{c^2 x^2}} x \sqrt{d+e x}}-\frac{\left (4 b d^2 \sqrt{1+c^2 x^2} \sqrt{1+\frac{e \left (-1+\sqrt{-c^2} x\right )}{\sqrt{-c^2} d+e}}\right ) \operatorname{Subst}\left (\int \frac{1}{\left (1-x^2\right ) \sqrt{2-x^2} \sqrt{1-\frac{e x^2}{\sqrt{-c^2} \left (d+\frac{e}{\sqrt{-c^2}}\right )}}} \, dx,x,\sqrt{1-\sqrt{-c^2} x}\right )}{3 c e \sqrt{1+\frac{1}{c^2 x^2}} x \sqrt{d+e x}}\\ &=\frac{2 (d+e x)^{3/2} \left (a+b \text{csch}^{-1}(c x)\right )}{3 e}+\frac{4 b \sqrt{-c^2} \sqrt{d+e x} \sqrt{1+c^2 x^2} E\left (\sin ^{-1}\left (\frac{\sqrt{1-\sqrt{-c^2} x}}{\sqrt{2}}\right )|-\frac{2 \sqrt{-c^2} e}{c^2 d-\sqrt{-c^2} e}\right )}{3 c^3 \sqrt{1+\frac{1}{c^2 x^2}} x \sqrt{\frac{d+e x}{d+\frac{e}{\sqrt{-c^2}}}}}+\frac{4 b \sqrt{-c^2} d \sqrt{\frac{d+e x}{d+\frac{e}{\sqrt{-c^2}}}} \sqrt{1+c^2 x^2} F\left (\sin ^{-1}\left (\frac{\sqrt{1-\sqrt{-c^2} x}}{\sqrt{2}}\right )|-\frac{2 \sqrt{-c^2} e}{c^2 d-\sqrt{-c^2} e}\right )}{3 c^3 \sqrt{1+\frac{1}{c^2 x^2}} x \sqrt{d+e x}}-\frac{4 b d^2 \sqrt{1+c^2 x^2} \sqrt{1-\frac{e \left (1-\sqrt{-c^2} x\right )}{\sqrt{-c^2} d+e}} \Pi \left (2;\sin ^{-1}\left (\frac{\sqrt{1-\sqrt{-c^2} x}}{\sqrt{2}}\right )|\frac{2 e}{\sqrt{-c^2} d+e}\right )}{3 c e \sqrt{1+\frac{1}{c^2 x^2}} x \sqrt{d+e x}}\\ \end{align*}
Mathematica [C] time = 13.9916, size = 926, normalized size = 2.16 \[ \frac{2 a (d+e x)^{3/2}}{3 e}+\frac{b \left (-\frac{(c d+c e x) \left (-\frac{2}{3} c x \text{csch}^{-1}(c x)-\frac{2 c d \text{csch}^{-1}(c x)}{3 e}-\frac{4}{3} \sqrt{1+\frac{1}{c^2 x^2}}\right )}{\sqrt{d+e x}}-\frac{2 (c d+c e x) \left (-\frac{\sqrt{2} c d e \sqrt{i c x+1} (c x+i) \sqrt{\frac{c d+c e x}{c d-i e}} \text{EllipticF}\left (\sin ^{-1}\left (\sqrt{-\frac{e (c x+i)}{c d-i e}}\right ),\frac{i c d+e}{2 e}\right )}{\sqrt{1+\frac{1}{c^2 x^2}} \sqrt{\frac{d}{x}+e} (c x)^{3/2} \sqrt{\frac{e (1-i c x)}{i c d+e}}}+\frac{i \sqrt{2} (c d-i e) \left (c^2 d^2+e^2\right ) \sqrt{i c x+1} \sqrt{\frac{e (c x+i) (c d+c e x)}{(i c d+e)^2}} \Pi \left (\frac{i c d}{e}+1;\sin ^{-1}\left (\sqrt{-\frac{e (c x+i)}{c d-i e}}\right )|\frac{i c d+e}{2 e}\right )}{e \sqrt{1+\frac{1}{c^2 x^2}} \sqrt{\frac{d}{x}+e} (c x)^{3/2}}-\frac{2 e \cosh \left (2 \text{csch}^{-1}(c x)\right ) \left (\frac{c x \left (c d \sqrt{2 i c x+2} (c x+i) \sqrt{\frac{c d+c e x}{c d-i e}} \text{EllipticF}\left (\sin ^{-1}\left (\sqrt{-\frac{e (c x+i)}{c d-i e}}\right ),\frac{i c d+e}{2 e}\right )+2 \sqrt{-\frac{e (c x-i)}{c d+i e}} (c x+i) \sqrt{\frac{c d+c e x}{c d-i e}} \left ((c d+i e) E\left (\sin ^{-1}\left (\sqrt{\frac{c d+c e x}{c d-i e}}\right )|\frac{c d-i e}{c d+i e}\right )-i e \text{EllipticF}\left (\sin ^{-1}\left (\sqrt{\frac{c d+c e x}{c d-i e}}\right ),\frac{c d-i e}{c d+i e}\right )\right )+(i c d+e) \sqrt{2 i c x+2} \sqrt{-\frac{e (c x+i)}{c d-i e}} \sqrt{\frac{e (c x+i) (c d+c e x)}{(i c d+e)^2}} \Pi \left (\frac{i c d}{e}+1;\sin ^{-1}\left (\sqrt{-\frac{e (c x+i)}{c d-i e}}\right )|\frac{i c d+e}{2 e}\right )\right )}{2 \sqrt{-\frac{e (c x+i)}{c d-i e}}}-(c d+c e x) \left (c^2 x^2+1\right )\right )}{\sqrt{1+\frac{1}{c^2 x^2}} \sqrt{\frac{d}{x}+e} \sqrt{c x} \left (c^2 x^2+2\right )}\right )}{3 e \sqrt{\frac{d}{x}+e} \sqrt{c x} \sqrt{d+e x}}\right )}{c^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.301, size = 840, normalized size = 2. \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{e x + d}{\left (b \operatorname{arcsch}\left (c x\right ) + a\right )}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]